﻿using System.Windows.Input;

namespace Theodorus
{
	public class TheodorusCommands
	{
		public static RoutedUICommand Exit;
		public static RoutedUICommand Options;
		public static RoutedUICommand About;
		public static RoutedUICommand Execute;
		public static RoutedUICommand Goto;
		public static RoutedUICommand SaveQuery;
		public static RoutedUICommand SaveResults;
		public static RoutedUICommand OpenQuery;

		static TheodorusCommands()
		{
			Exit = new RoutedUICommand("Exit", "Exit", typeof(TheodorusCommands));
			Options = new RoutedUICommand("Options...", "Options", typeof(TheodorusCommands));
			Goto = new RoutedUICommand("Goto...", "Goto", typeof(TheodorusCommands));
			About = new RoutedUICommand("About...", "About", typeof(TheodorusCommands));
			Execute = new RoutedUICommand("Execute", "Execute", typeof (TheodorusCommands), new InputGestureCollection(new[]{new KeyGesture(Key.X, ModifierKeys.Control|ModifierKeys.Shift)}));
			SaveQuery = new RoutedUICommand("Save Query...", "SaveQuery", typeof(TheodorusCommands));
			SaveResults = new RoutedUICommand("Save Results...", "SaveResults", typeof(TheodorusCommands));
			OpenQuery = new RoutedUICommand("Open Query...", "OpenQuery", typeof(TheodorusCommands));
		}
	}
}
